package bb.lanxing.model.json;

import com.google.gson.annotations.SerializedName;

import org.json.JSONObject;

import bb.lanxing.util.JsonUtil;


public class ClubMedalSmall extends UserAvatarMedal {
    @SerializedName("title")
    private String title;

    public ClubMedalSmall(JSONObject jSONObject) {
        setMedalId(JsonUtil.getLongValue("mid", jSONObject));
        setMedalLevel(JsonUtil.getIntegerValue("mlevel", jSONObject));
        setUrl(JsonUtil.getStringValue("url", jSONObject));
        this.title = JsonUtil.getStringValue("title", jSONObject);
    }

    public String getTitle() {
        return this.title;
    }
}
